package com.zhouz.admin.app.db.mybatis.Injector.myInjector;/*
 * Copyright (C), 2017-2019 广东快洁帮家政服务有限公司
 * FileName: MySqlMethod.java
 * Author:   张鹏
 * Date:     2019/8/14 12:10
 * History:
 * <author>          <time>          <version>          <desc>
 * 张鹏             2019/8/1412:10     V1.00             新建
 * -----------------------------------------------------------
 * 作者姓名           修改时间           版本号            描述
 */

public enum MySqlMethod {
        updateAllowNull("updateAllowNull", "修改数据 可以设置为空", "<script>\nUPDATE %s %s %s\n</script>"),
    deleteReal("deleteReal", "根据 entity 条件删除记录", "<script>\nDELETE FROM %s %s\n</script>");
        private final String method;
        private final String desc;
        private final String sql;

    private MySqlMethod(String method, String desc, String sql) {
        this.method = method;
        this.desc = desc;
        this.sql = sql;
    }

        public String getMethod() {
        return this.method;
    }

        public String getDesc() {
        return this.desc;
    }

        public String getSql() {
        return this.sql;
    }
}
